package com.grz.service.impl;

import com.grz.domain.Brand;
import com.grz.mapper.TbBrandMapper;
import com.grz.service.IBrandService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@AllArgsConstructor
public class BrandServiceImpl implements IBrandService {

    private final TbBrandMapper tbBrandMapper;

    @Override
    public List<Brand> findAll() {

        return tbBrandMapper.selBrand();
    }
}
